package com.ruoyi.project.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.mapper.ProProgressMapper;
import com.ruoyi.project.domain.ProProgress;
import com.ruoyi.project.service.IProProgressService;

/**
 * progressService业务层处理
 * 
 * @author ruoyi
 * @date 2024-12-01
 */
@Service
public class ProProgressServiceImpl implements IProProgressService 
{
    @Autowired
    private ProProgressMapper proProgressMapper;

    /**
     * 查询progress
     * 
     * @param id progress主键
     * @return progress
     */
    @Override
    public ProProgress selectProProgressById(Long id)
    {
        return proProgressMapper.selectProProgressById(id);
    }

    /**
     * 查询progress列表
     * 
     * @param proProgress progress
     * @return progress
     */
    @Override
    public List<ProProgress> selectProProgressList(ProProgress proProgress)
    {
        return proProgressMapper.selectProProgressList(proProgress);
    }

    /**
     * 新增progress
     * 
     * @param proProgress progress
     * @return 结果
     */
    @Override
    public int insertProProgress(ProProgress proProgress)
    {
        return proProgressMapper.insertProProgress(proProgress);
    }

    /**
     * 修改progress
     * 
     * @param proProgress progress
     * @return 结果
     */
    @Override
    public int updateProProgress(ProProgress proProgress)
    {
        return proProgressMapper.updateProProgress(proProgress);
    }

    /**
     * 批量删除progress
     * 
     * @param ids 需要删除的progress主键
     * @return 结果
     */
    @Override
    public int deleteProProgressByIds(Long[] ids)
    {
        return proProgressMapper.deleteProProgressByIds(ids);
    }

    /**
     * 删除progress信息
     * 
     * @param id progress主键
     * @return 结果
     */
    @Override
    public int deleteProProgressById(Long id)
    {
        return proProgressMapper.deleteProProgressById(id);
    }
}
